﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Domain.Core
{
   public class Organize : Entity
    {
        public Organize()
        {
            this.CascadeId = string.Empty;
            this.Name = string.Empty;
            this.Code = string.Empty;
            this.Status = 0;
            this.SortNo = 0;
        }
        /// <summary>
        /// 节点语义ID
        /// </summary>
        public string CascadeId { get; set; }
        /// <summary>
	    /// 名称
	    /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
	    /// 当前状态
	    /// </summary>
        public int Status { get; set; }
        /// <summary>
	    /// 排序号
	    /// </summary>
        public int SortNo { get; set; }
        /// <summary>
        /// 父节点流水号
        /// </summary>
        public Guid? ParentId { get; set; }
    }
}
